From: Christoph Müllner Date: Wed, 1 May 2019 15:45:10 +0000 (+0200) Subject: rockchip: Add params_setup to RK3328. X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f476e63f7af05d0c8e375fed28459e2027c064dc;p=project%2Fbcm63xx%2Fatf.git rockchip: Add params_setup to RK3328. params_setup.c provides the function params_early_setup, which takes care of parsing ATF parameters (bl31_plat_param array, fdt or coreboot table). As params_early_setup is defined as weak symbol in bl31_plat_setup.c, providing a platform-specific bl31_plat_setup implementation is optional. This patch adds the rockchip-common params_setup.c to the sources for RK3328. This streamlines the parameter handling for all supported rockchip SoCs. Signed-off-by: Christoph Müllner Change-Id: I071c03106114364ad2fc408e49cc791fe5b35925 --- diff --git a/plat/rockchip/rk3328/platform.mk b/plat/rockchip/rk3328/platform.mk index 3caa1082..98654a54 100644 --- a/plat/rockchip/rk3328/platform.mk +++ b/plat/rockchip/rk3328/platform.mk @@ -40,6 +40,7 @@ BL31_SOURCES += ${RK_GIC_SOURCES} \ lib/cpus/aarch64/cortex_a53.S \ ${RK_PLAT_COMMON}/drivers/parameter/ddr_parameter.c \ ${RK_PLAT_COMMON}/aarch64/plat_helpers.S \ + ${RK_PLAT_COMMON}/params_setup.c \ ${RK_PLAT_COMMON}/bl31_plat_setup.c \ ${RK_PLAT_COMMON}/aarch64/pmu_sram_cpus_on.S \ ${RK_PLAT_COMMON}/plat_pm.c \